package site.wetsion.galio.sdk.handler;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.IOException;

/**
 * 用于URL有权限访问时的处理
 *
 * @author wetsion
 * @version 1.0
 * @CLassName UrlAccessHandler
 * @date 2019/3/20 2:26 PM
 */
public interface UrlAccessHandler {

    /** 成功通过的处理 **/
    void onAccess(ServletRequest request, ServletResponse response, FilterChain filterChain)
            throws IOException, ServletException;
}
